<!--
 * @Author: xiuquanxu
 * @Company: kaochong
 * @Date: 2020-12-16 16:21:27
 * @LastEditors: xiuquanxu
 * @LastEditTime: 2020-12-16 16:26:20
-->
<html>
    <meta charset="utf-8"/>
    <body>
        <style>
            .bi {
                width: 100px;
                height: 100px;
                border: 1px solid black;
                background-image: linear-gradient(-40deg, black, red, yellow, pink);
                /* background-image: linear-gradient(to right, black, red, yellow, pink); */
            }
        </style>
        <div class="bi">

        </div>
    </body>
</html>